package com.bw.zcb.thread;

import android.os.Handler;

public class TimerThread extends Thread{

    private Handler handler;

    public TimerThread(Handler handler){
        this.handler = handler;
    }

    @Override
    public void run() {
        super.run();
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        handler.sendEmptyMessage(0);
    }
}
